#ifndef ZSCANFORM_H
#define ZSCANFORM_H

#include <QWidget>

namespace Ui {
class ZScanForm;
}

class ZScanForm : public QWidget
{
    Q_OBJECT

public:
    explicit ZScanForm(QWidget *parent = nullptr);
    ~ZScanForm();

    void UpdateShowType(int type=0);

public slots:
    void updateStepFromMagnification(int magnification);
    void updatelabelChanged(const QString& label);
private:
    Ui::ZScanForm *ui;

protected:
    virtual void paintEvent(QPaintEvent*event) override;

private slots:
    void on_toolButton_contractExpand_clicked(bool checked);
    void on_comboBox_currentIndexChanged(int index);
    void on_horizontalSlider_gainSpeed_valueChanged(int value);
    void updateRangeValue();
    void updatePlanesCount();


};

#endif // ZSCANFORM_H
